reader/d/crunch.d(146,4): Error: none of the overloads of `opApply` are callable using argument types `(int delegate(ushort n) @system)`, candidates are: /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/parallelism.d(4032,9): `std.parallelism.ParallelForeach!(Result).ParallelForeach.opApply(scope int delegate(ushort) dg)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/parallelism.d(4044,9): `std.parallelism.ParallelForeach!(Result).ParallelForeach.opApply(scope int delegate(ulong, ushort) dg)` reader/d/crunch.d(162,9): Error: template instance `crunch.crunchFromCompact.crunchFromCompact!((name) => name.idup)` error instantiating reader/d/crunch.d(196,34): Error: cannot take address of local `i` in `@safe` function `searchInCompact` reader/d/crunch.d(201,54): Error: cannot take address of local `i` in `@safe` function `searchInCompact` reader/d/crunch.d(211,63): Error: cannot take address of local `i` in `@safe` function `searchInCompact` reader/d/crunch.d(214,19): Error: cannot take address of local `i` in `@safe` function `searchInCompact` reader/d/crunch.d(215,62): Error: cannot take address of local `i` in `@safe` function `searchInCompact` reader/d/crunch.d(225,30): Error: `@safe` function `crunch.searchInCompact` cannot call `@system` function `std.range.SortedRange!(MapResult!(__lambda4, Chunks!(ubyte[])), "a < b", cast(SortedRangeOptions)0).SortedRange.trisect!string.trisect` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/range/package.d(11009,10): `std.range.SortedRange!(MapResult!(__lambda4, Chunks!(ubyte[])), "a < b", cast(SortedRangeOptions)0).SortedRange.trisect!string.trisect` is declared here reader/d/crunch.d(230,76): Error: cannot take address of local `index` in `@safe` function `searchInCompact` reader/d/crunch.d(249,5): Error: pointer arithmetic not allowed in @safe functions reader/d/crunch.d(251,4): Error: pointer arithmetic not allowed in @safe functions reader/d/crunch.d(258,10): Error: cast from `const(ubyte)[]` to `char[]` not allowed in safe code reader/d/crunch.d(297,22): Error: `@safe` function `crunch.crunchFromJson` cannot call `@system` function `std.json.JSONValue.array` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/json.d(324,38): `std.json.JSONValue.array` is declared here reader/d/crunch.d(302,24): Error: `@safe` function `crunch.crunchFromJson` cannot call `@system` function `std.json.JSONValue.array` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/json.d(324,38): `std.json.JSONValue.array` is declared here /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.